﻿using System;
using System.Web.Mvc;
using System.Collections.Generic;
using Seeker.DAL.Admin;
using Seeker.DAL.Interface;
using Seeker.Model.Interface;

namespace Seeker.AdminControllers.Controllers
{
    public class MemberController : BaseController
    {
        public ActionResult AdminList()
        {
            AdminListCs acs = new AdminListCs();
            AUserInfo aui = new AUserInfo();

            acs.UserList = aui.GetInfoList(1, 10);
            //获取分组列表
            acs.AdminGroup = new AGroup().GetList();

            return View(acs);
        }
    }

    public class AdminListCs
    {
        public List<Model.AUsers> UserList { get; set; }
        public List<IAdminGroupInfo> AdminGroup { get; set; }
    }
}